/**
 *====================================================
 * 文件名称: InsuranceService.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年09月23日	chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.service;

import java.util.List;

import com.yuexunit.finance.project.entity.InsuranceEntity;
import com.yuexunit.finance.project.entity.lexicon.InsuranceStateEnum;
import com.yuexunit.page.PageCriteria;
import com.yuexunit.page.PageList;

/**
 * @ClassName: InsuranceService
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2015年09月23日 18:56:17
 */
public interface InsuranceService {

	public Long createFinanceInsurance(InsuranceEntity entity);

	public void updateFinanceInsurance(InsuranceEntity entity);

	public void renovateFinanceInsurance(InsuranceEntity persist);

	public InsuranceEntity inquireInsuranceEntity(Long insuranceId);

	public PageList<InsuranceEntity> inquireInsuranceList(List<Long> insuranceCoverageIdList,String insuranceNumber, Long financeId, String financeNumber, Integer beginDate, Integer endDate, String applicant,String coverageName,String insuranceCompany, InsuranceStateEnum _state, PageCriteria page);
	
	public List<Long> countInsurances();
	
	public InsuranceEntity inquireInsuranceEntityByFinanceId(Long financeId);
}
